package com.tang.common.entity.companyJob;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tang.common.entity.user.User;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 唐朝阳
 */
@Data
@ApiModel("职位模型")
public class Job {
    @TableId(value = "job_id",type = IdType.AUTO)
    private Integer jobId;
    private String jobName;
    private String userName;
    private String realName;
    private String companyName;
    private BigDecimal minSalary;
    private BigDecimal maxSalary;
    private Integer cityCode;
    private Integer jobProperty;
    private String jobPattern;
    private String experience;
    private String minEdu;
    private Integer recruitNumber;
    private String jobCategory;
    private String professional;
    private String jobInfo;
    private  String welfare;
    private Integer jobState;
    private Integer deleteFlag;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @TableField(exist = false)
    private Company company;
    @TableField(exist = false)
    private User user;
}
